{% block form_row %}
    {% spaceless %}
        <div class="row">
            <div class="three mobile-four columns">
            </div>
            <div class="nine mobile-four columns">
                {% set inputClass = "expand" %}

                {% if errors|length > 0 %}
                    {% set inputClass = "expand error" %}
                    <div data-alert="" class="alert-box alert round">
                        {{ form_errors(form) }}
                        <a href="" class="close">×</a>
                    </div>
                {% endif %}

            </div>
            <div class="three mobile-four columns">
                {{ form_label(form,null, { 'label_attr': {'class': 'right inline'} }) }}
            </div>
            <div class="nine mobile-four columns">
                {{ form_widget(form, { 'attr': {'class': inputClass} }) }}
            </div>
        </div>
    {% endspaceless %}
{% endblock form_row %}